import request from '@/utils/request'
// import request1 from '@/utils/request1'
// // 仓库列表
export const getware = data => request.get('/warehouse/page', { params: data }

)
// 删除仓库
export const delware = id => request.delete('/warehouse', {
  params: { ids: [id] }
})

// 修改仓库
export const editware = data => request.put('/warehouse', data)

// 新增仓库
export const addware = data => request.post('/warehouse', data
)
